<?php
	echo doctype('html5');
	
	//$addrJScalls = $this->mylibrary->getAddressJScalls();
	//$this->firephp->log('hello');
	
	$param = array(
		'active_class'			=>'active',
		'use_titles'			=>false,
		'container_tag_class'	=>'nav'
	);
	
	$this->fuelmenu->initialize($param);
	
	$navigationMenu = $this->fuelmenu->render($menuItems,$activeLink,NULL,'basic');
?>


<html>


<head>

	<!--  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo $template['title'];?></title>

	<meta name="description" 	content="" />
	<meta name="author" 		content="" />

	<?php 
		
		// load group libraries
		foreach ($groupLibraries as $lib) {
			$this->carabiner->display($lib);
		}	
		
		// display other assets
		$this->carabiner->display();
		
	?>
	
	<!-- bootstrap adjustment -->
	<style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
    </style>
	
	<script>
		// set global so these can be used in js files
		ajaxUrl 	= "<?php echo base_url('pt/Hotel');?>";
		<?php 
			//echo $this->mylibrary->getAddressJScalls();
		?>
		
	</script>

</head>



<body>

	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
			
				<a class="brand" href="#">Hotel</a>
				
				<div class="nav-collapse collapse">
					<?php echo $navigationMenu; ?>
				</div>
				
				<div class="btn-group pull-right">
				
					<a class="btn dropdown-toggle" href="#" data-toggle="dropdown">
						<i class="icon-user"></i>
						<?php echo $account['email']; ?>
						<span class="caret"></span>
					</a>
					
					<ul class="dropdown-menu">
						<li>
							<!--  <a href="#">Profile</a> -->
							<?php //echo anchor($account['type'], 'Painel');
								echo anchor("Main",'Principal');
							?>
						</li>
						<li>
							<!--  <a href="#">Logout</a> -->
							<?php echo anchor("Hotel/logout", "Logout");?>
						</li>
					</ul>
					
				</div>
				
			</div>
		</div>
	</div>  
	
	<div id="bodyContainer">
		
		<div id="bodyMainContainer">
			<?php echo $template['body']; ?>
		</div>
		
	</div>
	
</body>






</html>